package com.pswv2.bub.bsc.dao.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.pswv2.core.PO;
/**
 * 需求和信息
 * @author linjiang
 */
@Entity
@Table
public class RequirementsASInformation extends PO {
	public static final Integer wait_see = 0;
	public static final Integer already_see =1;
	public static final Integer discuss =2;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(unique = true, nullable = false)
	private Integer requirementsASInformationId;     //需求和信息
	private Integer releaseInformationId;     		//发布信息Id
	private Integer userRequirementsId;     		//需求Id
	private Integer degreeOfSatisfaction;     		//每个需求对信息的评分
	private Integer statusSee;						//是否被查看过0未查看，1已查看未评论，2已支付和评分
	
	@Override
	public Serializable getId() {
		return requirementsASInformationId;
	}

	public Integer getRequirementsASInformationId() {
		return requirementsASInformationId;
	}

	public void setRequirementsASInformationId(Integer requirementsASInformationId) {
		this.requirementsASInformationId = requirementsASInformationId;
	}
	
	
	public Integer getDegreeOfSatisfaction() {
		return degreeOfSatisfaction;
	}

	public void setDegreeOfSatisfaction(Integer degreeOfSatisfaction) {
		this.degreeOfSatisfaction = degreeOfSatisfaction;
	}

	public Integer getReleaseInformationId() {
		return releaseInformationId;
	}

	public void setReleaseInformationId(Integer releaseInformationId) {
		this.releaseInformationId = releaseInformationId;
	}

	public Integer getUserRequirementsId() {
		return userRequirementsId;
	}

	public void setUserRequirementsId(Integer userRequirementsId) {
		this.userRequirementsId = userRequirementsId;
	}

	public Integer getStatusSee() {
		return statusSee;
	}

	public void setStatusSee(Integer statusSee) {
		this.statusSee = statusSee;
	}
}
